package com.swotxu.mall.order.feign;

import com.swotxu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("mall-member")
public interface MemberFeignService {

    /**
     * 获取会员用户收货地址
     * @param memberId  会员id
     * @return List<MemberAddressVo>
     */
    @GetMapping("/member/memberreceiveaddress/{memeberId}/addresses")
    R getAddress(@PathVariable("memeberId") Long memberId);

}
